Hi, I am testing the Users APIs, but in the request call āUpdate a Userā I am receiving the error response ā403 Access deniedā. I am using the procedure as mentioned in the documentation.
kindly guide me to resolve the error. The curl of the call is:
curl --location --request PUT āhttps://api.pagerduty.com/users/P78BG7Mā
āheader āAuthorization: Token token***********************ā
āheader āAccept: application/vnd.pagerduty+json;version=2ā
āheader āContent-Type: application/jsonā
ādata-raw ā{
āuserā: {
ānameā: ā",
āemailā: "",
ātime_zoneā: "",
ācolorā: āpurpleā,
āavatar_urlā: "*************************ā,
ābilledā: true,
āroleā: āuserā,
ādescriptionā: āmanagerā,
āinvitation_sentā: false,
ājob_titleā: āmanagerā
}
}ā